package com.baidu.book.dao;


import com.baidu.book.domain.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;

@Mapper
public interface BookDao {
    @Select("select * from stu.book where id = #{id}")
    public List<Book> getById(Integer id);
}
